//
//  ClassifyLeftTableViewCell.swift
//  ZNZXSuperMarket
//
//  Created by 四川中农 on 2018/7/31.
//  Copyright © 2018年 四川中农. All rights reserved.
//

import UIKit

class ClassifyLeftTableViewCell: UITableViewCell {
    
    @IBOutlet weak var viewLine: UIView!
    @IBOutlet weak var goodsName: UILabel!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
    func selectedStyle(){
        self.viewLine.isHidden = false
        self.goodsName.textColor = UIColor.init(hexColor: "#000000")
    }
    
    func normalStyle(){
        self.viewLine.isHidden = true
        self.goodsName.textColor = UIColor.init(hexColor: "#666666")
    }
    
}
